package fr.vvins.core.catalog.entity;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import fr.vvins.core.dao.EntityImpl;


/**
 * Designation
 */
@Entity(name="Categorization")
@Table(schema="vvins",name="VV_CATEGORIZATION")
public class Categorization extends EntityImpl implements Serializable {

	private static final long serialVersionUID = -541041605283726718L;
	@Id
	@GeneratedValue
	@Column(name="id")
	private Integer id;
	
	@Basic
	@Column(name="name")
	private String name;

	public Categorization() {
	}

	public Categorization(String name) {
		this.name = name;
	}

	@Override
	public Integer getId() {
		return this.id;
	}

	@Override
	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
